type runtime.g

192 uses

	runtime (current package)
		cgo_sigaction.go#L45: 		var g *g
		cgocall.go#L404: 		defer func(gp *g) {
		chan.go#L745: func chanparkcommit(gp *g, chanLock unsafe.Pointer) bool {
		coro.go#L109: func coroswitch_m(gp *g) {
		coro.go#L180: 	var gnext *g
		debugcall.go#L164: 	mcall(func(gp *g) {
		debugcall.go#L206: 	callingG *g
		debugcall.go#L222: 	mcall(func(gp *g) {
		heapdump.go#L340: func dumpgoroutine(gp *g) {
		heapdump.go#L411: 	forEachG(func(gp *g) {
		lock_futex.go#L129: func beforeIdle(int64, int64) (*g, bool) {
		mfinal.go#L46: 	fing       *g        // goroutine that runs finalizers
		mfinal.go#L156: func wakefing() *g {
		mfinal.go#L170: func finalizercommit(gp *g, lock unsafe.Pointer) bool {
		mgc.go#L373: 	stackRoots []*g
		mgc.go#L1423: 		gopark(func(g *g, nodep unsafe.Pointer) bool {
		mgc.go#L1743: 	forEachG(func(gp *g) {
		mgcmark.go#L131: 	forEachGRace(func(gp *g) {
		mgcmark.go#L421: func gcAssistAlloc(gp *g) {
		mgcmark.go#L633: func gcAssistAlloc1(gp *g, scanWork int64) {
		mgcmark.go#L836: func scanstack(gp *g, gcw *gcWork) int64 {
		mgcpacer.go#L731: func (c *gcControllerState) findRunnableGCWorker(pp *p, now int64) (*g, int64) {
		mgcscavenge.go#L282: 	g *g
		mgcsweep.go#L37: 	g      *g
		mprof.go#L1447: 	forEachGRace(func(gp1 *g) {
		mprof.go#L1460: 	forEachGRace(func(gp1 *g) {
		mprof.go#L1488: func tryRecordGoroutineProfileWB(gp1 *g) {
		mprof.go#L1498: func tryRecordGoroutineProfile(gp1 *g, pcbuf []uintptr, yield func()) {
		mprof.go#L1542: func doRecordGoroutineProfile(gp1 *g, pcbuf []uintptr) {
		mprof.go#L1586: 	isOK := func(gp1 *g) bool {
		mprof.go#L1597: 	forEachGRace(func(gp1 *g) {
		mprof.go#L1622: 		forEachGRace(func(gp1 *g) {
		mprof.go#L1676: func saveg(pc, sp uintptr, gp *g, r *profilerecord.StackRecord, pcbuf []uintptr) {
		netpoll.go#L434: 	var rg, wg *g
		netpoll.go#L460: 	var rg, wg *g
		netpoll.go#L496: 	var rg, wg *g
		netpoll.go#L529: func netpollblockcommit(gp *g, gpp unsafe.Pointer) bool {
		netpoll.go#L540: func netpollgoready(gp *g, traceskip int) {
		netpoll.go#L591: func netpollunblock(pd *pollDesc, mode int32, ioready bool, delta *int32) *g {
		netpoll.go#L617: 			return (*g)(unsafe.Pointer(old))
		netpoll.go#L636: 	var rg *g
		netpoll.go#L645: 	var wg *g
		panic.go#L551: func popDefer(gp *g) {
		panic.go#L1145: func recovery(gp *g) {
		panic.go#L1403: func dopanic_m(gp *g, pc, sp uintptr) bool {
		panic.go#L1486: func shouldPushSigpanic(gp *g, pc, lr uintptr) bool {
		preempt.go#L62: 	g *g
		preempt.go#L105: func suspendG(gp *g) suspendGState {
		preempt.go#L342: func wantAsyncPreempt(gp *g) bool {
		preempt.go#L363: func isAsyncSafePoint(gp *g, pc, sp, lr uintptr) (bool, uintptr) {
		proc.go#L118: 	g0           g
		proc.go#L418: func gopark(unlockf func(*g, unsafe.Pointer) bool, lock unsafe.Pointer, reason waitReason, traceReason traceBlockReason, traceskip int) {
		proc.go#L454: func goready(gp *g, traceskip int) {
		proc.go#L549: func badmcall(fn func(*g)) {
		proc.go#L553: func badmcall2(fn func(*g)) {
		proc.go#L593: var gcrash g
		proc.go#L595: var crashingG atomic.Pointer[g]
		proc.go#L643: 	allgs    []*g
		proc.go#L658: 	allgptr **g
		proc.go#L661: func allgadd(gp *g) {
		proc.go#L678: func allGsSnapshot() []*g {
		proc.go#L690: func atomicAllG() (**g, uintptr) {
		proc.go#L692: 	ptr := (**g)(atomic.Loadp(unsafe.Pointer(&allgptr)))
		proc.go#L697: func atomicAllGIndex(ptr **g, i uintptr) *g {
		proc.go#L698: 	return *(**g)(add(unsafe.Pointer(ptr), i*goarch.PtrSize))
		proc.go#L704: func forEachG(fn func(gp *g)) {
		proc.go#L716: func forEachGRace(fn func(gp *g)) {
		proc.go#L900: func dumpgstatus(gp *g) {
		proc.go#L1040: func ready(gp *g, traceskip int, next bool) {
		proc.go#L1127: func readgstatus(gp *g) uint32 {
		proc.go#L1135: func casfrom_Gscanstatus(gp *g, oldval, newval uint32) {
		proc.go#L1163: func castogscanstatus(gp *g, oldval, newval uint32) bool {
		proc.go#L1193: func casgstatus(gp *g, oldval, newval uint32) {
		proc.go#L1303: func casGToWaiting(gp *g, old uint32, reason waitReason) {
		proc.go#L1313: func casGToWaitingForSuspendG(gp *g, old uint32, reason waitReason) {
		proc.go#L1324: func casGToPreemptScan(gp *g, old, new uint32) {
		proc.go#L1342: func casGFromPreempted(gp *g, old, new uint32) bool {
		proc.go#L3198: func startlockedm(gp *g) {
		proc.go#L3251: func execute(gp *g, inheritTime bool) {
		proc.go#L3292: func findRunnable() (gp *g, inheritTime, tryWakeP bool) {
		proc.go#L3697: func stealWork(now int64) (gp *g, inheritTime bool, rnow, pollUntil int64, newWork bool) {
		proc.go#L3810: func checkIdleGCNoP() (*p, *g) {
		proc.go#L3922: 	var tail *g
		proc.go#L4105: func parkunlock_c(gp *g, lock unsafe.Pointer) bool {
		proc.go#L4111: func park_m(gp *g) {
		proc.go#L4165: func goschedImpl(gp *g, preempted bool) {
		proc.go#L4200: func gosched_m(gp *g) {
		proc.go#L4205: func goschedguarded_m(gp *g) {
		proc.go#L4212: func gopreempt_m(gp *g) {
		proc.go#L4219: func preemptPark(gp *g) {
		proc.go#L4294: func goyield_m(gp *g) {
		proc.go#L4329: func goexit0(gp *g) {
		proc.go#L4334: func gdestroy(gp *g) {
		proc.go#L4848: func exitsyscall0(gp *g) {
		proc.go#L5019: func malg(stacksize int32) *g {
		proc.go#L5020: 	newg := new(g)
		proc.go#L5056: func newproc1(fn *funcval, callergp *g, callerpc uintptr, parked bool, waitreason waitReason) *g {
		proc.go#L5166: func saveAncestors(callergp *g) *[]ancestorInfo {
		proc.go#L5199: func gfput(pp *p, gp *g) {
		proc.go#L5242: func gfget(pp *p) *g {
		proc.go#L5472: func sigprof(pc, sp, lr uintptr, gp *g, mp *m) {
		proc.go#L6027: 	forEachG(func(gp *g) {
		proc.go#L6468: 	forEachG(func(gp *g) {
		proc.go#L6515: func schedEnabled(gp *g) bool {
		proc.go#L6559: func globrunqput(gp *g) {
		proc.go#L6571: func globrunqputhead(gp *g) {
		proc.go#L6594: func globrunqget(pp *p, max int32) *g {
		proc.go#L6763: func runqput(pp *p, gp *g, next bool) {
		proc.go#L6809: func runqputslow(pp *p, gp *g, h, t uint32) bool {
		proc.go#L6810: 	var batch [len(pp.runq)/2 + 1]*g
		proc.go#L6886: func runqget(pp *p) (gp *g, inheritTime bool) {
		proc.go#L7007: func runqsteal(pp, p2 *p, stealRunNextG bool) *g {
		proc.go#L7039: func (q *gQueue) push(gp *g) {
		proc.go#L7048: func (q *gQueue) pushBack(gp *g) {
		proc.go#L7075: func (q *gQueue) pop() *g {
		proc.go#L7105: func (l *gList) push(gp *g) {
		proc.go#L7119: func (l *gList) pop() *g {
		race0.go#L31: func raceacquireg(gp *g, addr unsafe.Pointer)                               { throw("race") }
		race0.go#L34: func racereleaseg(gp *g, addr unsafe.Pointer)                               { throw("race") }
		race0.go#L36: func racereleaseacquireg(gp *g, addr unsafe.Pointer)                        { throw("race") }
		race0.go#L38: func racereleasemergeg(gp *g, addr unsafe.Pointer)                          { throw("race") }
		runtime2.go#L240: func (gp guintptr) ptr() *g { return (*g)(unsafe.Pointer(gp)) }
		runtime2.go#L243: func (gp *guintptr) set(g *g) { *gp = guintptr(unsafe.Pointer(g)) }
		runtime2.go#L251: func (gp *g) guintptr() guintptr {
		runtime2.go#L260: func setGNoWB(gp **g, new *g) {
		runtime2.go#L335: 	g *g
		runtime2.go#L396: type g struct {
		runtime2.go#L529: 	g0      *g     // goroutine with scheduling stack
		runtime2.go#L536: 	gsignal         *g                // signal-handling g
		runtime2.go#L541: 	curg            *g       // current running goroutine
		runtime2.go#L583: 	waitunlockf          func(*g, unsafe.Pointer) bool
		runtime2.go#L963: 	g    *g
		select.go#L63: func selparkcommit(gp *g, _ unsafe.Pointer) bool {
		signal_amd64.go#L49: func (c *sigctxt) preparePanic(sig uint32, gp *g) {
		signal_unix.go#L341: func doSigPreempt(gp *g, ctxt *sigctxt) {
		signal_unix.go#L398: func sigFetchG(c *sigctxt) *g {
		signal_unix.go#L411: 				gp := *(**g)(unsafe.Pointer(s.base()))
		signal_unix.go#L613: var testSigtrap func(info *siginfo, ctxt *sigctxt, gp *g) bool
		signal_unix.go#L614: var testSigusr1 func(gp *g) bool
		signal_unix.go#L640: func sighandler(sig uint32, info *siginfo, ctxt unsafe.Pointer, gp *g) {
		signal_unix.go#L839: func fatalsignal(sig uint32, c *sigctxt, gp *g, mp *m) *g {
		stack.go#L735: func adjustctxt(gp *g, adjinfo *adjustinfo) {
		stack.go#L761: func adjustdefers(gp *g, adjinfo *adjustinfo) {
		stack.go#L773: func adjustpanics(gp *g, adjinfo *adjustinfo) {
		stack.go#L779: func adjustsudogs(gp *g, adjinfo *adjustinfo) {
		stack.go#L793: func findsghi(gp *g, stk stack) uintptr {
		stack.go#L807: func syncadjustsudogs(gp *g, used uintptr, adjinfo *adjustinfo) uintptr {
		stack.go#L858: func copystack(gp *g, newsize uintptr) {
		stack.go#L1145: func isShrinkStackSafe(gp *g) bool {
		stack.go#L1183: func shrinkstack(gp *g) {
		stubs.go#L31: func getg() *g
		stubs.go#L47: func mcall(fn func(*g))
		stubs.go#L217: func setg(gg *g)
		synctest.go#L16: 	root    *g    // caller of synctest.Run
		synctest.go#L17: 	waiter  *g    // caller of synctest.Wait
		synctest.go#L38: func (sg *synctestGroup) changegstatus(gp *g, oldval, newval uint32) {
		synctest.go#L122: func (sg *synctestGroup) maybeWakeLocked() *g {
		synctest.go#L218: func synctestidle_c(gp *g, _ unsafe.Pointer) bool {
		synctest.go#L265: func synctestwait_c(gp *g, _ unsafe.Pointer) bool {
		time.go#L346: func resetForSleep(gp *g, _ unsafe.Pointer) bool {
		time.go#L417: 	goready(arg.(*g), 0)
		trace.go#L92: 	reader atomic.Pointer[g] // goroutine that called ReadTrace, or nil
		trace.go#L351: 		gp           *g
		trace.go#L360: 	forEachGRace(func(gp *g) {
		trace.go#L758: 		gopark(func(gp *g, _ unsafe.Pointer) bool {
		trace.go#L912: func traceReader() *g {
		trace.go#L923: func traceReaderAvailable() *g {
		traceallocfree.go#L77: 	forEachGRace(func(gp *g) {
		traceback.go#L122: func (u *unwinder) init(gp *g, flags unwindFlags) {
		traceback.go#L132: func (u *unwinder) initAt(pc0, sp0, lr0 uintptr, gp *g, flags unwindFlags) {
		traceback.go#L774: func printcreatedby(gp *g) {
		traceback.go#L802: func traceback(pc, sp, lr uintptr, gp *g) {
		traceback.go#L814: func tracebacktrap(pc, sp, lr uintptr, gp *g) {
		traceback.go#L823: func traceback1(pc, sp, lr uintptr, gp *g, flags unwindFlags) {
		traceback.go#L1105: func gcallers(gp *g, skip int, pcbuf []uintptr) int {
		traceback.go#L1113: func showframe(sf srcFunc, gp *g, firstFrame bool, calleeID abi.FuncID) bool {
		traceback.go#L1196: func goroutineheader(gp *g) {
		traceback.go#L1247: func tracebackothers(me *g) {
		traceback.go#L1265: 	forEachGRace(func(gp *g) {
		traceback.go#L1339: func isSystemGoroutine(gp *g, fixed bool) bool {
		tracecpu.go#L211: func traceCPUSample(gp *g, mp *m, pp *p, stk []uintptr) {
		traceruntime.go#L418: func (tl traceLocker) GoCreate(newg *g, pc uintptr, blocked bool) {
		traceruntime.go#L471: func (tl traceLocker) GoUnpark(gp *g, skip int) {
		traceruntime.go#L479: func (tl traceLocker) GoSwitch(nextg *g, destroy bool) {
		traceruntime.go#L492: func (tl traceLocker) emitUnblockStatus(gp *g, gen uintptr) {
		traceruntime.go#L589: func (tl traceLocker) GoCreateSyscall(gp *g) {
		tracestack.go#L38: func traceStack(skip int, gp *g, gen uintptr) uint64 {